{"dataset_reader": {"class_name": "md_yaml_dialogs_reader", "data_path": "dp_minimal_demo_dir"}, "dataset_iterator": {"class_name": "dstc2_intents_iterator", "seed": 42}, "chainer": {"in": ["x"], "in_y": ["y"], "pipe": [{"id": "classes_vocab", "class_name": "simple_vocab", "fit_on": ["y"], "save_path": "{MODEL_PATH}/classes.dict", "load_path": "{MODEL_PATH}/classes.dict", "in": "y", "out": "y_ids", "special_tokens": ["<UNK>"]}, {"in": "x", "out": "x_tok", "id": "my_tokenizer", "class_name": "nltk_tokenizer", "tokenizer": "wordpunct_tokenize"}, {"in": "x_tok", "id": "my_embedder", "class_name": "glove", "pad_zero": true, "load_path": "{DOWNLOADS_PATH}/embeddings/glove.6B.100d.txt", "out": "x_emb"}, {"in": "y_ids", "out": "y_onehot", "class_name": "one_hotter", "id": "my_one_hotter", "depth": "#classes_vocab.len", "single_vector": true}, {"in": ["x_emb"], "in_y": ["y_onehot"], "out": ["y_pred_probas"], "main": true, "class_name": "keras_classification_model", "save_path": "{MODEL_PATH}/model", "load_path": "{MODEL_PATH}/model", "embedding_size": "#my_embedder.dim", "classes": "#classes_vocab.keys()", "n_classes": "#classes_vocab.len", "kernel_sizes_cnn": [3, 5, 7], "filters_cnn": 512, "optimizer": "Adam", "learning_rate": 0.1, "learning_rate_decay": 0.1, "loss": "binary_crossentropy", "coef_reg_cnn": 0.0001, "coef_reg_den": 0.0001, "dropout_rate": 0.5, "dense_size": 100, "model_name": "cnn_model"}, {"in": "y_pred_probas", "out": "y_pred_ids", "class_name": "proba2labels", "confident_threshold": 0.2}, {"in": "y_pred_ids", "out": "y_pred_labels", "ref": "classes_vocab"}, {"ref": "my_one_hotter", "in": "y_pred_ids", "out": "y_pred_onehot"}], "out": ["y_pred_labels", "y_pred_probas"]}, "train": {"epochs": 1000, "batch_size": 64, "metrics": [{"name": "sets_accuracy", "inputs": ["y", "y_pred_labels"]}, {"name": "roc_auc", "inputs": ["y_onehot", "y_pred_probas"]}], "validation_patience": 10, "val_every_n_epochs": 5, "log_every_n_batches": 100, "show_examples": false, "evaluation_targets": ["train", "valid", "test"], "class_name": "nn_trainer"}, "metadata": {"variables": {"ROOT_PATH": "~/.deeppavlov", "DOWNLOADS_PATH": "{ROOT_PATH}/downloads", "MODELS_PATH": "{ROOT_PATH}/models", "MODEL_PATH": "dp_minimal_demo_dir", "DATA_PATH": "dp_minimal_demo_dir"}, "requirements": ["{DEEPPAVLOV_PATH}/requirements/tf.txt", "{DEEPPAVLOV_PATH}/requirements/fasttext.txt"], "download": [{"url": "http://files.deeppavlov.ai/embeddings/glove.6B.100d.txt", "subdir": "{DOWNLOADS_PATH}/embeddings"}]}}